import request from '@/utils/request'

export const regAPI = obj => request.post('/api/reg', obj)

export const loginAPI = obj => request.post('/api/login', obj)

export const getUserAPI = () => request.get('/my/userinfo')

export const getMenuAPI = () => request.get('/my/menus')
// 重置密码
export const updateUserAPI = obj => request.put('/my/userinfo', obj)
